package com.Khan.SocialRescueSys.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author Khan Liu
 * @date 2022/3/28 10:55
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Message {
    private Long id;
    private String title;
    private String content;
    private String firstPicture;
    private Date createTime;
    private Date updateTime;
    private String descriptionOfNews;

    /**true为Skill,false为News*/
    private boolean mtype;

    /**这个属性用来在mybatis中进行连接查询的*/
    private Long userId;

    private User user;

}
